/**
 * @author Da Mu
 * @version 0.1.0
 * @mail 317782199@qq.com
 */
import { IsNumber, IsString } from 'class-validator';


export class TemplateApiLoginJWTDto {

  @IsString()
  id: string;

};

export class TemplateApiDown {

  @IsString()
  fileName: string;

};

export class TemplateApiEmail {

  @IsString()
  email: string;

  @IsString()
  code: string;

};

export class TemplateApiSavePlayerLocaDataDto {

  @IsString()
  playerName: string;

  @IsString()
  playerUID: string;

  @IsNumber()
  playerLong: number;

  @IsNumber()
  playerLat: number;

  @IsNumber()
  playerDirection: number;

  @IsNumber()
  playerSpeed: number;

  @IsString()
  locaType: string;

};